package com.lottery.entity;

import java.io.Serializable;

//第三方信息
public class Oauth implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3805333354909089942L;

	// 用户 id
	private int userId;

	// 第三方 类型
	private String oauthType;

	// 第三方id
	private String oauthId;

	public Oauth() {
		super();

	}

	public Oauth(int userId, String oauthType, String oauthId) {
		super();
		this.userId = userId;
		this.oauthType = oauthType;
		this.oauthId = oauthId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getOauthType() {
		return oauthType;
	}

	public void setOauthType(String oauthType) {
		this.oauthType = oauthType;
	}

	public String getOauthId() {
		return oauthId;
	}

	public void setOauthId(String oauthId) {
		this.oauthId = oauthId;
	}

	@Override
	public String toString() {
		return "Oauth [userId=" + userId + ", oauthType=" + oauthType + ", oauthId=" + oauthId + "]";
	}

}
